export default [
	{
		path: 'product/index',
		name: 'ProductIndex',
		component: () => import('../../components/product/index.vue'),
	},
	{
		path: 'product/info',
		name: 'ProductInfo',
		component: () => import('../../components/product/Info.vue'),
	},
	{
		path: 'product/cart',
		name: 'ProductCart',
		component: () => import('../../components/product/Cart.vue'),

		// 页面需要登录之后才可以进入
		meta: {
			IsLogin: true,
		},
	},
	{
		path: 'product/confirm',
		name: 'ProductConfirm',
		component: () => import('components/product/Confirm.vue'),
		meta: {
			IsLogin: true,
		},
	},
]
